import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {FileDownloadComponent} from "./fileDownload/fileDownload.component";
import {FileUploadComponent} from "./fileUpload/fileUpload.component";
import {ButtonsComponent} from "./buttons/buttons.component";
import {DialogComponent} from "./dialog/dialog.component";
import {TableButtonComponent} from "./tableButton/table-button.component";

const routes: Routes = [
  {path: 'fileDownload', component: FileDownloadComponent},
  {path: 'fileUpload', component: FileUploadComponent},
  {path: 'buttons', component: ButtonsComponent},
  {path: 'dialog', component: DialogComponent},
  {path: 'table', component: TableButtonComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ButtonRoutingModule {
}
